home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 May / SGI IRIX 6.5 Complementary Applications 2004 May.iso / dist / OpenOffice.idb / usr / OpenOffice / help / en / sbasic.jar / text / sbasic / common / 03130500.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  2.4 KB  |  37 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Shell Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03130500"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         p.P2{
  7.                 }
  8.         span.T1{
  9.                 font-weight:bold;}
  10.         </style></head><body>
  11.   
  12.   
  13.   <help:to-be-embedded Eid="shell" xmlns:help="http://openoffice.org/2000/help">
  14.   <p class="Head1"><help:link Id="66566">Shell Function [Runtime]</help:link></p>
  15.   <p class="Paragraph">Starts another application and defines the respective window style, if necessary.</p>
  16.   </help:to-be-embedded>
  17.   <p class="Paragraph"><span class="T1">Syntax</span>:</p>
  18.   <p class="Paragraph">Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync]) <help:key-word value="Shell" tag="kw66566_1" xmlns:help="http://openoffice.org/2000/help"/></p>
  19.   <p class="Paragraph"><span class="T1">Parameter</span>:</p>
  20.   <p class="Paragraph">Pathname: Complete path and program name of the program to be started.</p>
  21.   <p class="Paragraph">Windowstyle: Optional integer expression that specifies the style of the window in which the program is executed. The following values are possible:</p>
  22.   <p class="Paragraph">Description</p>
  23.   <p class="Paragraph">0 - The focus is on the hidden program window.</p>
  24.   <p class="Paragraph">1 - The focus is on the program window in standard size.</p>
  25.   <p class="Paragraph">2 - The focus is on the minimized program window.</p>
  26.   <p class="Paragraph">3 - The focus is on the maximized program window.</p>
  27.   <p class="Paragraph">4 - Standard size program window, without focus.</p>
  28.   <p class="Paragraph">6 - Minimized program window, focus remains on the active window.</p>
  29.   <p class="Paragraph">10 - <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>Full-screen display.</p>
  30.   <p class="Paragraph">Param: Any string expression that specifies the command line to be passed.</p>
  31.   <p class="Paragraph">bSync: Boolean expression that defines whether a DDE connection to the application can be established immediately after starting (True) or not (False).</p>
  32.   <p class="P2">Example:</p>
  33.   <p class="PropText">Sub ExampleShellForWin</p>
  34.   <p class="PropText">Shell( "c:\win95\calc.exe",2)</p>
  35.   <p class="PropText">end sub</p>
  36.   <p class="PropText"/>
  37.  </body></html>